package com.sandwich.admin.service;

import com.sandwich.admin.domain.CategoryEntity;
import com.sandwich.api.apibean.v1.CategoryRequest;

import java.util.List;

/**
 * @description 分类信息
 * @date 2021-07-28
 */
public interface CategoryService {

    CategoryEntity find(long pk);

    List<CategoryEntity> findAll();

    CategoryEntity save(CategoryRequest categoryRequest);

}